export const orgFormKey = {
  name: '',
  organization: '',
  type: 0,
  serial: '',
  province: '',
  city: '',
  district: '',
  location: '',
  top: 0,
  parent_id: '',
  contract: 0,
  contract_number: '',
  contract_time: ''
}

export const customerKey = {
  org_id: '',
  name: '',
  account: '',
  password: '',
  phone: '',
}

export const contactKey = {
  org_id: '',
  name: '',
  job: '',
  phone: '',
  email: '',
}

export const licenseKey = {
  device_total: '',
  app_groups: [],
  apps: [],
  days: '365',
}

export const resourcesFormKey = {
  group_id: '',
  name: '',
  visibility: 0,
  organizations: '',
  clear: 0,
  md5: '',
  cover_url: '',
  url: '',
  remark: '',
  carousel_url:'',
  push_url:'',
  menu_url:'',
  tag:[]
}

export const applicationFormKey = {
  group_id: '',
  name: '',
  icon: '',
  remark: '',
  html: '',
}

export const userFormKey = {
  name: '',
  nick: '',
  phone: '',
  role_id: ''
}

export const channelFormKey = {
  name: '',
  content_type: 0,
  cover_url: '',
  content: '',
  remark:''
}

export const featuredFormKey = {
  name: '',
  featured_type: 0,
  content_type: 0,
  cover_url: '',
  content: '',
  remark:''
}

export const columnFormKey = {
  name: '',
  content_type: 0,
  cover_url: '',
  content: '',
  remark:''
}

export const roleFormKey = {
  name: '',
  permission: '',
  remark: ''
}

export const noticeFormKey = {
  title: '',
  content: '',
  pic: ''
}


export const programFormKey = {
  name: '',
  url: '',
  version: '',
  model_id: '',
  md5: ''
}


export const resTypeFormKey = {
  name: '',
  suffix: '',
  remark: '',
  size: ''
}


export const apppDetailFormKey = {
  url: '',
  version: '',
  model_id: '',
  md5: '',
  system:'',
  author: '',
}


export const appGroupFormKey = {
  name: '',
  cover_url: '',
  remark: '',
}

export const resetKey = {
  type: localStorage.getItem('organization_id') ? 0 : 1,
  old_password: '',
  new_password: '',
  renew_password: '',
}
